package com.hong.convert;


import com.hong.bean.RelationshipAgreement;
import com.hong.dto.relationshipagreement.CreateRelationshipAgreementParam;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface RelationshipAgreementConvert {

    RelationshipAgreement toEntity(CreateRelationshipAgreementParam param);

    List<RelationshipAgreement> toEntity(List<CreateRelationshipAgreementParam> params);

}
